package top.continew.admin.business.model.req;

import java.io.Serial;
import java.io.Serializable;
import java.time.*;


import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import io.swagger.v3.oas.annotations.media.Schema;

import org.hibernate.validator.constraints.Length;


/**
 * 创建或修改老师信息
 *
 * @author sheng_chao
 * @since 2025/03/06 20:02
 */
@Data
@Schema(description = "创建或修改老师信息")
public class TeacherReq implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;
    @Schema(description = "")
    @NotBlank(message = "不能为空")
    @Length(max = 255, message = "长度不能超过 {max} 个字符")
    private String name;

    @Schema(description = "")
    @NotBlank(message = "不能为空")
    private String headUrl;

    /**
     *
     */
    private String phone;

    /**
     * 简介
     */
    private String details;

    /**
     *
     */
    private Long status;

    /**
     * 账号表
     */
    private Long userId;
}